package com.mapull.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

/**
 * @author: mapull
 * @description: Product
 * @date:2020/03/14
 **/
@Data
@AllArgsConstructor
public class Product {

    @NotBlank
    private double price;

    private String name;

    private TypeEnum type;
}
